package core.statistics;

public class AgentStatistics {

	private int passCount;
	private int pointsCount;
	private long thinkingTime;
	private int victoryCount;

	public AgentStatistics (){
		victoryCount = 0;
		passCount = 0;
		pointsCount = 0;
		thinkingTime = 0;
	}

	public void addPointsCount(int p) {
		pointsCount += p;
	}

	public void addThinkingTime(long t) {
		thinkingTime += t;
	}
	public int getPassCount() {
		return passCount;
	}
	
	public int getPointsCount() {
		return pointsCount;
	}
	
	public long getThinkingTime() {
		return thinkingTime;
	}
	public int getVictoryCount() {
		return victoryCount;
	}

	public void increasePassCount() {
		passCount++;
	}
	
	public void increaseVictoryCount() {
		victoryCount++;
	}
	
	public String myToString() {
		return "*** Points = " + this.getPointsCount() + "\n" +
     		   "*** Pass = " + this.getPassCount() + "\n" +
			   "*** Thinking Time = " + this.getThinkingTime() + "\n" +
			   "*** Victories = " + this.getVictoryCount()+"\n";
	}
}
